/**
 * 自动生成！请勿修改！
 */
import { command } from '../core/command';

class SmartScreen {
    constructor(opt = {}) {
        const { device, to, ...opts } = opt;

        this.device = device || {};
        this.opts = opts || {};
        this._to = to;
    }

    get categoryCode() {
        return '010100008';
    }

    get categoryName() {
        return '\u667a\u6167\u5c4f';
    }

    getAppCarouselTime(params) {
        return command({
            method: 'getAppCarouselTime',
            methodId: 'ptRStqOn',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getAppDownloadProgress(params) {
        return command({
            method: 'getAppDownloadProgress',
            methodId: 'p1vZoypz',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getBrightness(params) {
        return command({
            method: 'getBrightness',
            methodId: 'pqYwUQtA',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getConnectedWifi(params) {
        return command({
            method: 'getConnectedWifi',
            methodId: 'UaMCYCLL',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getCurrentBattery(params) {
        return command({
            method: 'getCurrentBattery',
            methodId: 'UODl2AUS',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getFloatBallOnOff(params) {
        return command({
            method: 'getFloatBallOnOff',
            methodId: 'p3deB1EK',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getInstallAppList(params) {
        return command({
            method: 'getInstallAppList',
            methodId: 'pGoxzjfW',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getMultiWindow(params) {
        return command({
            method: 'getMultiWindow',
            methodId: 'UCb20NEq',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getOnOff(params) {
        return command({
            method: 'getOnOff',
            methodId: 'pz9T4R35',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getScreenOnOff(params) {
        return command({
            method: 'getScreenOnOff',
            methodId: 'pBTmb0QP',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getVolume(params) {
        return command({
            method: 'getVolume',
            methodId: 'pj72Le2U',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWifiList(params) {
        return command({
            method: 'getWifiList',
            methodId: 'UnfcghWd',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAppCarouselTime(params) {
        return command({
            method: 'setAppCarouselTime',
            methodId: 'phEcSvN9',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAppInstall(params) {
        return command({
            method: 'setAppInstall',
            methodId: 'peH3Fwwk',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAppMessage(params) {
        return command({
            method: 'setAppMessage',
            methodId: 'U8OTZdY3',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAppStart(params) {
        return command({
            method: 'setAppStart',
            methodId: 'pUPQhCWo',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAppStop(params) {
        return command({
            method: 'setAppStop',
            methodId: 'pZgu6ObR',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAppUnInstall(params) {
        return command({
            method: 'setAppUnInstall',
            methodId: 'ppAraUM1',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setBrightness(params) {
        return command({
            method: 'setBrightness',
            methodId: 'pNnZr6iC',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setDismiss(params) {
        return command({
            method: 'setDismiss',
            methodId: 'U9KmwHOx',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setFloatBallOnOff(params) {
        return command({
            method: 'setFloatBallOnOff',
            methodId: 'pdNC7k5M',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setHome(params) {
        return command({
            method: 'setHome',
            methodId: 'pDrhqigI',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setMultiWindow(params) {
        return command({
            method: 'setMultiWindow',
            methodId: 'U5s95v7b',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setNetWorkMode(params) {
        return command({
            method: 'setNetWorkMode',
            methodId: 'UvxDVrgV',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setNextRunningApp(params) {
        return command({
            method: 'setNextRunningApp',
            methodId: 'pgh0GHYE',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setOnOff(params) {
        return command({
            method: 'setOnOff',
            methodId: 'pkpDeo1l',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setReset(params) {
        return command({
            method: 'setReset',
            methodId: 'pWGMQBMr',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setScreenOnOff(params) {
        return command({
            method: 'setScreenOnOff',
            methodId: 'p0cr1Wrm',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setShow(params) {
        return command({
            method: 'setShow',
            methodId: 'URPjAZNG',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setVolume(params) {
        return command({
            method: 'setVolume',
            methodId: 'pXZu3guw',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWifi(params) {
        return command({
            method: 'setWifi',
            methodId: 'UmavuUbZ',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }
}

export default SmartScreen;
